.container {
    min-width: 1000px;
    background-image: url("RailsShopLogoNurText.png");
    background-repeat: no-repeat;
    background-position: 250px 1px;
}

.leftnav {
    width: 140px;
    float: left;
    margin-top: 1em;
    background-color: #ffffff;
    padding: 5px;
}

.leftnav ul {
    width: 140px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.leftnav li a {
    display: block;
    background-color: #d3d3d3;
    padding: 2px;
    margin: 5px;
    border-radius: 3px;
}

div#shoppingcart {
    width: 190px;
    min-height: 200px;
    float: right;
    margin-top: 1em;
    padding: 5px;
    background-color: #ffffff;
}

div#content {
    margin: 5em 210px 0 160px;
    background-color: #ffffff;
    min-height: 800px;
    padding: 10px;
}

body {
    background: #cff;
}

header {
    padding-top: 20px;
    height: 25px;
}

header img {
    padding: 1em;
    background: #fff;
}

section {
    margin-top: 1em;
    font-size: 120%;
    padding: 20px;
    background: #fff;
}

section h1 {
    font-size: 200%;
}

/* Links */

a {
    color: #09c;
    text-decoration: none;
}

a:hover {
    color: #069;
    text-decoration: underline;
}

a:visited {
    color: #069;
}

/* Navigation */

nav {
    float: right;
}

nav {
    background-color: white;
    padding: 0 0.7em;
    white-space: nowrap;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style-type: none;
    display: inline-block;
    padding: 0.2em 0;
}

nav ul li a {
    padding: 0 5px;
    font-weight: bold;
}

nav ul li a:visited {
    color: #09c;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Sign up button */

div.field, div.actions {
    margin-bottom: 10px;
}

a.signup_button {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    width: 190px;
    color: #fff;
    background: #006400;
    font-size: 150%;
    font-weight: bold;
    padding: 20px;
}

/* Round corners */

.round {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

footer {
    text-align: center;
    margin-top: 10px;
    width: 630px;
    margin-left: 160px;
    margin-right: auto;
    clear: both;
}

footer nav {
    float: none;
}

/* User show page */

table.profile {
    width: 100%;
    margin-bottom: 0;
}

table.inner_table {
    background-color: #ffffff;
}

table.inner_table tbody tr td {
    background-color: #FFFFFF;
}

td.main {
    width: 70%;
    padding: 1em;
}

td.sidebar {
    width: 30%;
    padding: 1em;
    vertical-align: top;
    background: #ffc;
}

.field_with_errors {
    margin-top: 10px;
    padding: 2px;
    background-color: red;
    display: table;
}

.field_with_errors label {
    color: #fff;
}

#error_explanation {
    width: 400px;
    border: 2px solid red;
    padding: 7px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

#error_explanation h2 {
    text-align: left;
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    font-size: 12px;
    margin: -7px;
    background-color: #c00;
    color: #fff;
}

#error_explanation p {
    color: #333;
    margin-bottom: 0;
    padding: 5px;
}

#error_explanation ul li {
    font-size: 12px;
    list-style: square;
}

ul.users {
    margin-top: 1em;
}

.users li {
    list-style: none;
}

.product_item {
    margin: 0
}

/*
  ---------- Buttons ---------
*/

input[type='submit'], input[type='button'], .button {
    color: #09c;
    text-decoration: none;
    float: left;
    min-width: 70px;
    min-height: 20px;
    display: block;
    border: 1px solid gray;
    background-image: url("link_pfeil.gif");
    background-color: #FFF;
    background-repeat: no-repeat;
    background-position: 3px center;
    margin-right: 3px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    font-size: 100%;
}

input[type='submit']:hover, input[type='button']:hover, .button:hover {
    color: #069;
    text-decoration: underline;
}

.cart_button {
    color: #09c;
    text-decoration: none;
    float: left;
    display: block;
    border: 1px solid gray;
    margin-right: 3px;
    padding: 0 5px 0 6px;
    cursor: pointer;
    font-size: 80%;
}

/*
------   Pagination   -----
*/
.apple_pagination {
    background: #f1f1f1;
    border: 1px solid #e5e5e5;
    text-align: center;
    padding: 1em;
    cursor: default;
}

.apple_pagination a, .apple_pagination span {
    padding: 0.2em 0.3em;
}

.apple_pagination .disabled {
    color: #aaaaaa;
}

.apple_pagination .current {
    font-style: normal;
    font-weight: bold;
    background-color: #bebebe;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    line-height: 1.5;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    text-shadow: rgba(255, 255, 255, 0.8) 1px 1px 1px;
}

.apple_pagination a {
    text-decoration: none;
    color: black;
}

.apple_pagination a:hover, .apple_pagination a:focus {
    text-decoration: underline;
}

.product_table {
    display: table;
    width: 610px;
}

.product_row {
    display: table-row;
}

.product_cell {
    display: table-cell;
    width: 170px;
    vertical-align: bottom;
    padding: 5px;
    border: 1px solid #0066A5;
    margin: 20px;
}